<div class="model_actions_toolbar">
    <?php $this->widget('backend.components.ModelActions'); ?>
</div>
<?php if (Yii::app()->user->hasFlash('updateSuccess')): ?>
    <div class="success">
        <?php echo Yii::app()->user->getFlash('updateSuccess'); ?>
    </div>
<?php endif; ?>

<?php if (Yii::app()->user->hasFlash('createSuccess')): ?>
    <div class="success">
        <?php echo Yii::app()->user->getFlash('createSuccess'); ?>
    </div>
<?php endif; ?>

<div>
    <?php
    echo $this->renderPartial('_form', array(
        'model' => $model,
        'update' => true,
    ));
    ?>
</div>